Skip to contentSkip to conversation

Change in openvpn[master]: remove redundant PULL_DEFINED() macro definition

Openvpn-devel In review cron2 (Code Review) 2 participants 6 messages Oct 28, 2025 – Oct 29, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1761676579000.I9118333bb65cd5db0836abefa5d45a729f0142cc@...2715...

#1 lore raw

Attention is currently required from: flichtenheld, plaisthos.

Hello plaisthos, flichtenheld,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1322?usp=email

to review the following change.

Change subject: remove redundant PULL_DEFINED() macro definition
......................................................................

remove redundant PULL_DEFINED() macro definition

this seems to be a leftover of the time when we had conditional compilation for "--disable-server" or thus. Commit d6a0cf599 removed PUSH_DEFINED() nearby but overlooked this one.

Change-Id I9118333bb65cd5db0836abefa5d45a729f0142cc

---
M src/openvpn/options.h

1 file changed, 0 insertions(+), 4 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/22/1322/1

src/openvpn/options.h +0 -4
index 24253af..125e524 100644
@@ -769,10 +769,6 @@
 
 #define PULL_DEFINED(opt) ((opt)->pull)
 
-#ifndef PULL_DEFINED
-#define PULL_DEFINED(opt) (false)
-#endif
-
 #ifdef _WIN32
 #define ROUTE_OPTION_FLAGS(o) ((o)->route_method & ROUTE_METHOD_MASK)
 #else

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1322?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9118333bb65cd5db0836abefa5d45a729f0142cc
Gerrit-Change-Number: 1322
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: cron2, plaisthos.

flichtenheld has posted comments on this change by cron2. ( http://gerrit.openvpn.net/c/openvpn/+/1322?usp=email )

Change subject: remove redundant PULL_DEFINED() macro definition
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1322?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9118333bb65cd5db0836abefa5d45a729f0142cc
Gerrit-Change-Number: 1322
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Comment-Date: Tue, 28 Oct 2025 19:49:45 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

#3 lore raw

PATCH 1/1 remove redundant PULL_DEFINED() macro definition

In reply to a message not in the archive

this seems to be a leftover of the time when we had conditional compilation for "--disable-server" or thus. Commit d6a0cf599 removed PUSH_DEFINED() nearby but overlooked this one.

Change-Id I9118333bb65cd5db0836abefa5d45a729f0142cc

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1322
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1322
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>

src/openvpn/options.h +0 -4
index 24253af..125e524 100644
@@ -769,10 +769,6 @@
 
 #define PULL_DEFINED(opt) ((opt)->pull)
 
-#ifndef PULL_DEFINED
-#define PULL_DEFINED(opt) (false)
-#endif
-
 #ifdef _WIN32
 #define ROUTE_OPTION_FLAGS(o) ((o)->route_method & ROUTE_METHOD_MASK)
 #else
#4 lore raw

[Openvpn-devel] [PATCH applied] Re: remove redundant PULL_DEFINED() macro definition

Trivial enough .-) and BB confirms that I have not overlooked some random combination of platform and compile time directive.

Patch has been applied to the master branch.

commit e6ae2bc64239dd99a2d2a94e75fdaff45eb78deb

Author: Gert Doering
Date:   Tue Oct 28 21:32:10 2025 +0100
     remove redundant PULL_DEFINED() macro definition

     Signed-off-by: Gert Doering <[email protected]...>
     Acked-by: Frank Lichtenheld <[email protected]...>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1322
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg33984.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#5 lore raw
In reply to a message not in the archive

Hello flichtenheld, plaisthos,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1322?usp=email

to look at the new patch set (#2).

The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld

Change subject: remove redundant PULL_DEFINED() macro definition
......................................................................

remove redundant PULL_DEFINED() macro definition

this seems to be a leftover of the time when we had conditional compilation for "--disable-server" or thus. Commit d6a0cf599 removed PUSH_DEFINED() nearby but overlooked this one.

Change-Id I9118333bb65cd5db0836abefa5d45a729f0142cc

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1322
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg33984.html

---
M src/openvpn/options.h

1 file changed, 0 insertions(+), 4 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/22/1322/2

src/openvpn/options.h +0 -4
index 24253af..125e524 100644
@@ -769,10 +769,6 @@
 
 #define PULL_DEFINED(opt) ((opt)->pull)
 
-#ifndef PULL_DEFINED
-#define PULL_DEFINED(opt) (false)
-#endif
-
 #ifdef _WIN32
 #define ROUTE_OPTION_FLAGS(o) ((o)->route_method & ROUTE_METHOD_MASK)
 #else

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1322?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9118333bb65cd5db0836abefa5d45a729f0142cc
Gerrit-Change-Number: 1322
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>

#6 lore raw
In reply to a message not in the archive

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1322?usp=email )

Change subject: remove redundant PULL_DEFINED() macro definition
......................................................................

remove redundant PULL_DEFINED() macro definition

this seems to be a leftover of the time when we had conditional compilation for "--disable-server" or thus. Commit d6a0cf599 removed PUSH_DEFINED() nearby but overlooked this one.

Change-Id I9118333bb65cd5db0836abefa5d45a729f0142cc

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1322
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg33984.html

---
M src/openvpn/options.h

1 file changed, 0 insertions(+), 4 deletions(-)
src/openvpn/options.h +0 -4
index 24253af..125e524 100644
@@ -769,10 +769,6 @@
 
 #define PULL_DEFINED(opt) ((opt)->pull)
 
-#ifndef PULL_DEFINED
-#define PULL_DEFINED(opt) (false)
-#endif
-
 #ifdef _WIN32
 #define ROUTE_OPTION_FLAGS(o) ((o)->route_method & ROUTE_METHOD_MASK)
 #else

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1322?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9118333bb65cd5db0836abefa5d45a729f0142cc
Gerrit-Change-Number: 1322
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>